var code = {};
code.succ = 200;

var check_email = function(email) {
  var p = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
  if (p.test(email)) return true;
  return false;
}
